﻿#pragma once

extern int32_t compareFloat(const void *f1, const void *f2);

class CTprgInfWrapper : public CBaseWrapper
{
public:
    int32_t x7;
    int32_t x8;
    int32_t x9;
    int32_t x10;
    int32_t eCount;

    CTprgInfWrapper();

    void printSelf(char *captionUpper, int32_t deep);

    // sub_1001D060
    CTprgInfWrapper *init(TDLLTPRGINF *tprgInf);

    // sub_1001DD40
    CTprgInfWrapper *init_(TDLLTPRGINF *tprgInf);

    // sub_1001E7B3
    int32_t setComplexEvent();

    // sub_1001E8D3
    int32_t getNextEventCrossed(TDLLTPRGListItem *pHead, int32_t offset, EVENT event);

    // sub_1001E982
    int32_t isTimeCrossed(double d1, double d2, double d3, double d4);

    // sub_1001EA64
    void sortData();

    // sub_1001E78C
    int32_t clean();

    // sub_10024F50
    int32_t clearIndex();

    // sub_1001ECD9
    int32_t getPrgItemEventAndTsTe(int32_t idx, float *ts, float *te);
};
